package com.woniuxy.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.woniuxy.pojo.Manager;

public interface ManagerMapper {
    int deleteByPrimaryKey(Integer mId);

    int insert(Manager record);

    int insertSelective(Manager record);

    Manager selectByPrimaryKey(Integer mId);


    int updateByPrimaryKey(Manager record);
    
    Manager login(String name,String password);
    public List<Manager> getAll();

	void delById(Integer id);


	void addManager(Manager m);
	
	public Manager selectUserByName(String name);

	void changePass(@Param("name")String username, @Param("password")String firstPass);

	Manager selectUserByNamePhone(String name);
}